package com.hengtongxing.hejiayun.bean;


import java.util.List;

public class CourseDetialsBean extends BaseResponseBean {

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {


        /**
         * id : 30
         * name : 五迪高级讲师之公开课1(经PEPC机构认证)
         * sales : 1
         * market_price : 100
         * integral_price : 10
         * thumb : https://wnb-dc.oss-cn-qingdao.aliyuncs.com/yunchuanggongxiang/20210108/828818936194f1e931f5d748983779d9.png
         * desc : 五迪高级讲师之公开课(经PEPC机构认证)
         * sort : 0
         * create_time : 1610951858
         * chapters : [{"id":1,"title":"章节一","desc":"","course_id":30,"status":1,"create_time":1611199977},{"id":2,"title":"章节二","desc":"","course_id":30,"status":1,"create_time":1611199977}]
         */

        private int id;
        private String name;
        private int sales;
        private String market_price;
        private String integral_price;
        private String thumb;
        private String desc;
        private boolean bought;
        private int sort;
        private String create_time;
        private List<ChaptersBean> chapters;

        public boolean isBought() {
            return bought;
        }

        public void setBought(boolean bought) {
            this.bought = bought;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getIntegral_price() {
            return integral_price;
        }

        public void setIntegral_price(String integral_price) {
            this.integral_price = integral_price;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public List<ChaptersBean> getChapters() {
            return chapters;
        }

        public void setChapters(List<ChaptersBean> chapters) {
            this.chapters = chapters;
        }

        public static class ChaptersBean {

            /**
             * id : 1
             * course_id : 30
             * title : 章节一
             * desc :
             * status : 1
             * url : http://vfx.mtime.cn/Video/2019/03/14/mp4/190314223540373995.mp4
             * create_time : 1611199977
             * delete_time : 0
             * bought : true
             */

            private int id;
            private int course_id;
            private String title;
            private String desc;
            private int status;
            private String url;
            private String create_time;
            private String delete_time;
            private boolean bought;
            private boolean isCheck;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getCourse_id() {
                return course_id;
            }

            public void setCourse_id(int course_id) {
                this.course_id = course_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getDelete_time() {
                return delete_time;
            }

            public void setDelete_time(String delete_time) {
                this.delete_time = delete_time;
            }

            public boolean isBought() {
                return bought;
            }

            public void setBought(boolean bought) {
                this.bought = bought;
            }
        }
    }
}
